<?xml version="1.0" encoding="UTF-8"?>
<%@ include file="/WEB-INF/views/header.jsp" %>
<%@ page session="true"%>

<html>
<head>
	<title>Login</title>
</head>
<body>
<form id="loginForm" name="loginForm" action="j_spring_security_check" method="post">
<c:if test="${not empty param.authfailed}">
    <span id="infomessage" class="errormessage" >
    Login failed due to: <c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}"/>.
    </span>
</c:if>

        <table>
          <tr><td>Username</td><td><input id="usernameField" type="text" name="j_username" /></td></tr>
          <tr><td>Password</td><td><input id="passwordField" type="password" name="j_password" /></td></tr>

          <tr><td colspan="2" align="right"><input type="submit" value="Login" /></td></tr>
        </table>
</form>

</body>
</html>
